﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="frm_ProductChooseList.aspx.cs" Inherits="SaleSystem.ComPage.frm_ProductChooseList" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>无标题页</title>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <ext:PageManager runat="server" ID="PageManager1" /> 
                <Toolbars>
                    <ext:Toolbar ID="Toolbar1" runat="server">
                        <Items>
                            <ext:Button runat="server" ID="bn_Search" Icon="FolderFind"  Text="查询" OnClick="bn_SearchClick" Type="Submit">
                            </ext:Button>
                            <ext:Button runat="server" ID="bn_Close" Icon="SystemClose" Text="关闭">
                            </ext:Button>                             
                        </Items>
                    </ext:Toolbar>
                </Toolbars>
                    <ext:Form runat="server" ID="SimpleForm1" EnableBackgroundColor="true" ShowBorder="false" AutoWidth="true"
                        ShowHeader="false" BodyPadding="5px" AutoHeight="true">
                        <Rows>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox runat="server" ID="tb_PInfo_Code" Label="产品编码" Width="200px" MaxLength="100">
                                    </ext:TextBox>
                                    <ext:TextBox runat="server" ID="tb_PInfo_Name" Label="产品名称" Width="200px" MaxLength="100">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox runat="server" ID="tb_PInfo_Number" Label="号码" Width="200px" MaxLength="100">
                                    </ext:TextBox>
                                    <ext:TextBox runat="server" ID="tb_PInfo_Pwd" Label="密码" Width="200px" MaxLength="100">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                            <ext:FormRow>
                                <Items>
                                    <ext:TextBox runat="server" ID="tb_PInfo_CH" Label="串号" Width="200px" MaxLength="100">
                                    </ext:TextBox>
                                </Items>
                            </ext:FormRow>
                        </Rows>
                    </ext:Form>
                    <ext:Grid runat="server" ID="gv_List" EnableBackgroundColor="true" Title="产品信息列表"
                        IsDatabasePaging="true" DataKeyNames="PInfo_Id,PInfo_Name,PInfo_Cost,PInfo_Price" EnableRowNumber="true"
                        AllowPaging="true" onrowcommand="gv_List_RowCommand" OnPageIndexChange="gv_List_PageIndexChange" >
                        <Columns>
                            <ext:LinkButtonField ColumnID="OK" CommandName="OK" Text="确定" HeaderText="" Width="60px" />                         
                            <ext:BoundField ColumnID="PInfo_Code" DataField="PInfo_Code" DataTooltipField="PInfo_Code"
                                HeaderText="产品编码" Width="90px" />
                            <ext:BoundField ColumnID="PInfo_Name" DataField="PInfo_Name" DataTooltipField="PInfo_Name"
                                HeaderText="产品名称" Width="90px" />
                            <ext:BoundField ColumnID="PSort_Name" DataField="PSort_Name" DataTooltipField="PSort_Name"
                                HeaderText="产品类别" Width="80px" />
                            <ext:BoundField ColumnID="PInfo_Number" DataField="PInfo_Number" DataTooltipField="PInfo_Number"
                                HeaderText="号码" Width="90px" />
                            <ext:BoundField ColumnID="PInfo_Pwd" DataField="PInfo_Pwd" DataTooltipField="PInfo_Pwd"
                                HeaderText="密码" Width="60px" />
                            <ext:BoundField ColumnID="PInfo_CH" DataField="PInfo_CH" DataTooltipField="PInfo_CH"
                                HeaderText="串号" Width="80px" />
                            <ext:BoundField ColumnID="PInfo_Price" DataField="PInfo_Price" DataTooltipField="PInfo_Price"
                                HeaderText="零售价" Width="70px" />                                
                            <ext:BoundField ColumnID="SDeta_RealNumber" DataField="SDeta_RealNumber" DataTooltipField="SDeta_RealNumber"
                                HeaderText="库存" Width="60px" />
                        </Columns>
                    </ext:Grid>
                
    </div>
    </form>
</body>
</html>
